var userLogin = function() {
		$.ajax({
				//提交类型
				type: "post",
				//提交路径
				url: "userLogin.action",
				//设置数据
				data: {
					name:$(uname).val(),
					password:$(upassword).val()
				},
				//设置需要返回的数据类型
				dataType: "html", 
				async: false,
				//application/json是后台返回的mime类型，不是前台提交的方式。
				//contentType: "application/json;charset=utf-8",
				contentType: "application/x-www-form-urlencoded; charset=utf-8",
				success: function(data) {
					alert("SUCCESS");
				},
				error: function() {
					alert("FIELD");
				}
			});
		}
